package com.example.demo.Service;

import com.example.demo.Mapper.UserMapper;
import com.example.demo.entity.User;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class UserService {
    @Resource
    private UserMapper userMapper;
    public List<User> getall(){
        return userMapper.getall();
    }

}
